import { restartAPIMock } from '../../common/utils/pm2.js';

/**
 * 操作相关
 * @param {Router} router
 */
export default function addQuickActionsRoutes(router) {

    router.post('/quick-actions/restart-api-mock', async context => {
        context.body = await restartAPIMock();
    });

};